<include file="Public:header" />

<!--商品列表-->
<div class="subnav">
	<div class="content_menu ib_a blue line_x">
	<a class="add fb"  href="{:u('setting/index')}"><em>站点基本设置</em></a>
	
	<a class="add fb"  href="{:u('setting/sms')}" style="background:#ec971f;"><em style="background:#ec971f;">其它设置</em></a>
	
	</div>

</div>


<div class="pad_lr_10">
	<form id="info_form" action="{:u('setting/edit')}" method="post" enctype="multipart/form-data">
	<table width="100%" class="table_form">
		
		<tr>
        	<th>是否开启短信 :</th>
        	<td>
            	<label><input type="radio"  <if condition="C('yh_sms_status') eq '1'">checked="checked"</if> value="1" name="setting[sms_status]"> {:L('open')}</label> &nbsp;&nbsp;
                <label><input type="radio"  <if condition="C('yh_sms_status') eq '0'">checked="checked"</if> value="0" name="setting[sms_status]"> {:L('close')}</label>
            </td>
      	</tr>
		
		
		<tr>
			<th width="10%">腾讯短信AppID :</th>
        	<td width="40%">
				<input type="text" name="setting[sms_appid]" class="input-text" size="45" value="{:C('yh_sms_appid')}" >
           <span class="gray ml10">对接腾讯短信设置教程 <a href="http://www.tuiquanke.com/topics/svzwrqpm4roj" target="_blank">点这里</a> </span>     
        	</td>
		</tr>
		
		<tr>
			<th width="10%">腾讯短信AppKey :</th>
        	<td width="40%">
				<input type="password" name="setting[sms_appkey]" class="input-text" size="45" value="{:C('yh_sms_appkey')}" >
        	</td>
		</tr>
		
		<tr>
			<th width="10%">腾讯短信签名 :</th>
        	<td width="40%">
				<input type="text" name="setting[sms_sign]" class="input-text" size="45" value="{:C('yh_sms_sign')}" >
        	</td>
		</tr>
		
		<tr>
			<th width="10%">用户注册模板ID :</th>
        	<td width="40%">
				<input type="text" name="setting[sms_reg_id]" class="input-text" size="45" value="{:C('yh_sms_reg_id')}" >
        	</td>
		</tr>
		<tr>
			<th width="10%">找回密码模板ID :</th>
        	<td width="40%">
				<input type="text" name="setting[sms_fwd_id]" class="input-text" size="45" value="{:C('yh_sms_fwd_id')}" >
        	</td>
		</tr>
		<tr>
			<th width="10%">提现通知模板ID :</th>
        	<td width="40%">
				<input type="text" name="setting[sms_tixian_id]" class="input-text" size="45" value="{:C('yh_sms_tixian_id')}" >
        	</td>
		</tr>
		
		<tr>
			<th width="10%">接收通知手机号 :</th>
        	<td width="40%">
				<input type="text" name="setting[sms_my_phone]"  class="input-text" size="45" value="{:C('yh_sms_my_phone')}" >
        <span class="gray ml10">如果不想接收请留空系统不会发送短信 <font color="red">需要在腾讯云设置白名单，否则会受到发送频率限制</font></span>     
        	</td>
		</tr>
		
			<tr>
			<th width="10%">淘宝授权 :</th>
        	<td width="40%">
				<label><input type="radio"  <if condition="C('yh_bingtaobao') eq '1'">checked="checked"</if> value="1" name="setting[bingtaobao]"> {:L('open')}</label> &nbsp;&nbsp;
                <label><input type="radio"  <if condition="C('yh_bingtaobao') eq '0'">checked="checked"</if> value="0" name="setting[bingtaobao]"> {:L('close')}</label>
        <span class="gray ml10">开启后用户可以通过授权实现订单与账号的关联。注：需要通过<a href="http://www.tuiquanke.com/article_view/2184" target="_blank"> <font color="blue">渠道管理</font></a>才可以开启</span>     
        	</td>
		</tr>
		
		<tr>
		<th width="10%">渠道邀请码 :</th>
        	<td width="40%">
		<input type="text" name="setting[invitecode]"  class="input-text" size="45" value="{:C('yh_invitecode')}" >
       <span class="gray ml10">邀请码如何获取？<a href="http://www.tuiquanke.com/article_view/2203" target="_blank"> <font color="blue">点这里</font></a></span>     
        	</td>
		</tr>
		
        <tr>
        	<th></th>
        	<td><input type="hidden" name="menuid"  value="{$menuid}"/>
        	<input type="hidden" name="setting[app_kehuduan]"  value="{:C('yh_app_kehuduan')}"/>
        	<input type="submit" class="smt mr10" value="{:L('submit')}"/></td>
    	</tr>
	</table>
	</form>
</div>
<include file="Public:footer" />

</body>
</html>